﻿using PosClient.Interfaces;
using PosClient.ViewModel;
using PosClient.View;

namespace PosClient.Service.Actives
{
    public class PayActive: IActionService
    {
        public void Action(MainViewModel vm)
        {
            if (vm.PluList.Count > 0)
            {
                PayView view = new PayView();
                view.Show();
                //view.Hide();
            }
        }

        public string FormName()
        {
            return "MainView";
        }
    }
}
